
// 在vuex中数据的数据的时候更加简单
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  avatar: state => state.user.userInfo.staffPhoto,
  username: state => state.user.userInfo.username,
  name: state => state.user.userInfo.username
}
export default getters
console.log(getters)
